📁 last Posts

Healthy Desserts

Healthy Desserts 10 Low-Calorie High Protein Dessert Recipes Under 200 Cal
You know the feeling. It's late evening, the sugar craving hits, and suddenly the kitchen starts calling your name. For years, the commo...
Healthy Desserts 10 Guilt-Free Diet Desserts Under 100 Calories
It's 8 p.m. The sugar craving hits. You want something sweet, something satisfying—but you're trying to be good. So you sit there, s...
// Blog CTA Close Functionality document.addEventListener('DOMContentLoaded', function() { // Check if CTA box exists on the page const ctaBox = document.querySelector('.blog-cta-box'); const ctaCloseBtn = document.querySelector('.cta-close'); if (ctaCloseBtn && ctaBox) { ctaCloseBtn.addEventListener('click', function() { ctaBox.style.opacity = '0'; ctaBox.style.transform = 'translateY(-20px)'; setTimeout(function() { ctaBox.style.display = 'none'; }, 300); }); } // Optional: Local storage to show CTA less frequently const ctaDismissed = localStorage.getItem('blogCtaDismissed'); if (ctaDismissed && ctaBox) { // If dismissed in last 7 days, don't show const dismissTime = parseInt(ctaDismissed); const oneWeek = 7 * 24 * 60 * 60 * 1000; if (Date.now() - dismissTime < oneWeek) { ctaBox.style.display = 'none'; } } // Update local storage when closed if (ctaCloseBtn) { ctaCloseBtn.addEventListener('click', function() { localStorage.setItem('blogCtaDismissed', Date.now().toString()); }); } });